{system:ad item="v" limit="6" field="url_link,photo" }
{if $v.photo}
<div class="ad">
    <div class="layui-container">
        <ul>
            <li>
                <a href="{$v.url_link}">
                    <img src="{:_get_image_preview_url($v.photo)}" alt="">
                </a>
                <p class="ad-mbox">
                    <span>广告</span>
                </p>
            </li>
        </ul>
    </div>
</div>
{/if}
{/system:ad}

